<form action="../app/<tpl> $app_module.app_module_sign </tpl>/system.php?action=update_replay" method="post" id="updateresupply" name="updatesupply">
<table width="680" class="from_table" style="width:680px; float:left">
	<tr>
    	<th width="150"><tpl> $langSupplyTitle </tpl>:</th>
    	<td width="480">
        	<input type="hidden" id="sr_id" name="sr_id" value="<tpl> $supply_re_array.sr_id </tpl>" />
        	<input type="text" name="sr_title" id="sr_title" class="txtinput_short" value="<tpl> $supply_re_array.sr_title </tpl>"/>        </td>
	</tr>
    <tr>
    	<th width="150"><tpl> $langSupplyReContent </tpl>:</th>
    	<td width="480"><textarea name="sr_content" class="tarea" id="sr_content"><tpl> $supply_re_array.sr_content </tpl></textarea></td>
    </tr>
    <tr>
        <td width="150">        </td>
        <td width="480">
		<span class="btn_left">   
		<input type="submit"  id="savereplayupdate"  class="btn_submit"  value="<tpl> $langSysCSave </tpl>" />
		</span>
		<span class="btn_left">   
        <input type="button" id="butt_relist"  class="btn_submit"  value="<tpl> $langSupplyReturn </tpl>" />
	      </span>
	  </td>
    </tr>
</table>
</form>
<script language="javascript">

//更新回复信息内容
$('#savereplayupdate').click(function() {
	$('#updateresupply').ajaxSubmit(options_modi);
	return false;
});

var options_modi = {
	beforeSubmit:  function(){showLoading(showText);},
	success:       function(msg){
					hideLoading();
					showMessage(msg.message,msg.type);
					if(msg.type == '1'){
						ShowDiv = "result_content";
						getPageContent("../app/<tpl> $app_module.app_module_sign </tpl>/system.php?action=replay&curpage=<tpl> $condition.curpage </tpl>&keyword=<tpl> $condition.keyword </tpl>&type=<tpl> $condition.type </tpl>&quality=<tpl> $condition.quality </tpl>&searchcate=<tpl> $condition.searchcate </tpl>&s_id=<tpl> $supply_re_array.sr_s_id </tpl>");
					}
				},
	type:      'post',
	dataType:  'json'
};

//返回回复列表
$("#butt_relist").click(function(){
	ShowDiv = "result_content";
	getPageContent("../app/<tpl> $app_module.app_module_sign </tpl>/system.php?action=replay&curpage=<tpl> $condition.curpage </tpl>&keyword=<tpl> $condition.keyword </tpl>&type=<tpl> $condition.type </tpl>&quality=<tpl> $condition.quality </tpl>&searchcate=<tpl> $condition.searchcate </tpl>&s_id=<tpl> $supply_re_array.sr_s_id </tpl>");
});
</script>